package com.seedwill.common.sao;

import com.seedwill.common.model.CompositeObject;
import com.seedwill.common.persistence.FilterContainer;
import com.seedwill.common.service.ServiceException;
import com.seedwill.common.view.IPagnationView;
import com.seedwill.common.view.ITreeView;

public interface IPageViewService {
	public Object find(Class clz, java.io.Serializable id) throws ServiceException;
	public CompositeObject findEntity(String schemHint, java.io.Serializable id) throws ServiceException;
	public Object find(String clzName, java.io.Serializable id) throws ServiceException;
	public IPagnationView getEntityPageByFilter(FilterContainer filterContainer) throws ServiceException;
	public IPagnationView queryPageView(Object context, int pageNumber) throws ServiceException;
	public ITreeView queryTreeView(Object context) throws ServiceException;
}
